<script>
export default {
  props: ["node"],
  data() {
    return {};
  },

  mounted() {},

  methods: {},

  render() {
    return (
      <van-field
        rows="4"
        autosize
        type="textarea"
        value={this.node.answer}
        placeholder={this.node.hint}
        onInput={(e) => {
          this.node.answer = e;
        }}
      />
    );
  },
};
</script>

<style scoped>
.van-field{
    padding: 10px;
    padding-left: 0;
    padding-right: 0;
}
</style>